<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>用户管理</title>
	<%@ include file="/WEB-INF/include/include.jsp" %>
		<script type="text/javascript" src="<%=path %>/js/sysmgr/user/user.js"></script>
  </head>
  <body>
   
  </body>
</html>
	<ui:page>
		<ui:formPanel id="s_userForm"  var="s_userForm">
			<x:attr name="bodyStyle">padding:5px</x:attr>
			<x:attr name="layout">
				<x:value type="direct">{type:'table',columns:4}</x:value>
			</x:attr>
			<x:items>
				<ui:formPanel.text id="s_username" fieldLabel="用户名称"/>
				<ui:formPanel.hidden  id="s_orgId" />
				<ui:button text="查询"/>
			</x:items>
		</ui:formPanel>
		<ui:b_toolbar menuCode="menuUser" id="toolbar"  var="toolbar">
			<x:attr name="region">north</x:attr>
		</ui:b_toolbar>
		<ui:grid id="pageGrid" var ="pageGrid"  title="用户列表" showCheckbox="true" datasetName="SysUserDataSetHandler" model="UserModel" handlerName="SysUserLoadHandler">
			<x:attr name="region">center</x:attr>
			<x:attr name="layout">fit</x:attr>
			<x:attr name="columnLines">true</x:attr>
			<x:columns>
				<ui:gridcolumn dataIndex="USER_ID" hidden="true" ></ui:gridcolumn>
				<ui:gridcolumn text="用户编码" dataIndex="USER_CODE"/>
				<ui:gridcolumn text="用户名称" dataIndex="USER_NAME"/>
				<ui:gridcolumn text="所属机构" dataIndex="ORG_SIMPLE_NAME"/>
				<ui:gridcolumn text="性别" dataIndex="USER_SEX"/>
				<ui:gridcolumn text="电话" dataIndex="USER_TEL"/>
				<ui:gridcolumn text="邮件地址" dataIndex="USER_EMAIL"/>
			</x:columns>
		</ui:grid>
		<ui:viewport layout="border">
			<x:items>
				<ui:panel layout="fit" height="35">
					<x:attr name="region">north</x:attr>
					<x:items>
						<x:value type="direct">s_userForm</x:value>
					</x:items>
				</ui:panel>
				<ui:panel layout="border">
					<x:attr name="region">center</x:attr>
					<x:items>
						<x:value type="direct">toolbar</x:value>
						<x:value type="direct">pageGrid</x:value>
					</x:items>
				</ui:panel>
			</x:items>
		</ui:viewport>
	</ui:page>

	
